﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestDecisionLogic.aspx.cs" Inherits="CRMWeb.Pages.TestDecisionLogic" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
   
    <iframe id="IFrameHolder" frameborder="0" height="450" width="900" src="'https://widget.decisionlogic.com/Service.aspx?requestCode='+getQuerystring('requestCode', '')"></iframe>

    <script type="text/javascript">
        var requestCode = getQuerystring('requestCode', '');
        function getQuerystring(key, defaultValue) {
            if (defaultValue == null) defaultValue = "";
            key = key.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
            var regex = new RegExp("[\\?&]" + key + "=([^&#]*)");
            var qs = regex.exec(window.location.href);
            if (qs == null) {
                return defaultValue;
            }
            else {
                return qs[1];
            }
        }
    </script>
</body>
</html>
